import java.util.Scanner;

public class demo1 {
    public static void main(String[] args) {
        int[] arry=new int[10];
        Scanner sc=new Scanner(System.in);
        for(int i=0;i<10;i++){
            arry[i]=sc.nextInt();
        }
        int max=arry[0];
        int min=arry[0];
        int count=0;
        double average=0;
        for(int i=0;i<10;i++){
            if(arry[i]>max){
                max=arry[i];
            }
            if(arry[i]<min){
                min=arry[i];
            }
            if(arry[i]%2==0){
                count++;
                average+=arry[i];
            }
        }
        if(count!=0){
            average=average/count;
        }
        else{
            average=0.0;
        }
        System.out.println("最大值是"+max);
        System.out.println("最小值是"+min);
        System.out.println("偶数个数是"+count);
        System.out.println("偶数的平均值是"+average);
    }
}
